part of '../../repository.dart';

const _kAppStoreTransactionIdKey = 'id';
const _kAppStoreTransactionTimeKey = 'time';
const _kAppStoreTransactionOfferTypeKey = 'offer_type';
const _kAppStoreTransactionOwnershipTypeKey = 'ownership_type';
const _kAppStoreTransactionRevocationInfoKey = 'revocation_info';

sealed class _AppStoreTransactionDto {
  String get id;

  ApiTimeDto get timeDto;

  _AppStoreTransactionOfferTypeDto get offerTypeDto;

  _AppStoreTransactionOwnershipTypeDto get ownershipTypeDto;

  _AppStoreTransactionRevocationInfoDto? get revocationInfoDto;

  AppStoreTransaction toEntity();
}
